package com.msec.permission.demo;

import android.os.Parcel;

public class PermissionCallBack implements ICallBack {

    public PermissionCallBack(Parcel in) {
    }

    @Override
    public void onGranted() {
    }

    @Override
    public void onDenied() {
    }

    @Override
    public int describeContents() {
        return 0;
    }

    /**
     * 序列化过程
     *
     * @param dest
     * @param flags
     */
    @Override
    public void writeToParcel(Parcel dest, int flags) {
    }

    /**
     * 反序列化
     */
    public static final Creator<PermissionCallBack> CREATOR = new Creator<PermissionCallBack>() {
        @Override
        public PermissionCallBack createFromParcel(Parcel in) {
            return new PermissionCallBack(in);
        }

        @Override
        public PermissionCallBack[] newArray(int size) {
            return new PermissionCallBack[size];
        }
    };


}
